/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package clasesmath;

/**
 *
 * @author Mizael
 */
public class abs {
 public static void main(String[] args) {

    double b=1.2;
    int ac=4;
        System.out.println(Math.abs(b));
        System.out.println(+Math.abs(ac) );
        //retorna el valor como valor absoluto

    }
}
